package com.example.leetcode.array;

import com.example.leetcode.array.common.ArrayUtils;

import java.util.Arrays;

class Solution6334 {
    public long[] findPrefixScore(int[] nums) {
        return ArrayUtils.findPrefixScore(nums);
    }
}

public class leetcode6334 {
    public static void main(String[] args) {
        Solution6334 solution6334 = new Solution6334();
        int[] nums = {1, 1, 2, 4, 8, 16};
        int[] nums1 = {2, 3, 7, 5, 10};
        System.out.println(Arrays.toString(solution6334.findPrefixScore(nums)));
        System.out.println(Arrays.toString(solution6334.findPrefixScore(nums1)));
    }
}
